package com.admin.es.entity;


import cn.easyes.annotation.HighLight;
import cn.easyes.annotation.IndexField;
import cn.easyes.annotation.IndexId;
import cn.easyes.annotation.IndexName;
import cn.easyes.common.enums.FieldType;
import cn.easyes.common.enums.IdType;
import lombok.Data;

/**
 * 学校活动管理es实体类
 * @author 武佳敏
 * @date 2023-02-01
 */
@Data
@IndexName("school_activity")
public class EsSchoolActivityEntity {

    /**id**/
    @IndexId(type = IdType.CUSTOMIZE)
    private Long id;

    //活动名称
    @IndexField(fieldType = FieldType.TEXT)
    private String activityName;

    //学校名称
    @IndexField(fieldType = FieldType.TEXT)
    private String schoolName;

    //参与人员
    @IndexField(fieldType = FieldType.TEXT)
    private String participant;

    //活动地址
    @IndexField(fieldType = FieldType.TEXT)
    private String activityAddress;

    //负责人
    @IndexField(fieldType = FieldType.TEXT)
    private String principal;

    //负责人电话
    @IndexField(fieldType = FieldType.TEXT)
    private String principalPhone;

    //发布状态
    @IndexField(fieldType = FieldType.TEXT)
    private String issueStatus;


}
